package com.hsgene.user.dto.sms;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.hsgene.common.util.date.TimeJsonDeserializer;

import java.io.Serializable;
import java.util.Date;

/**
 * 短信发送结果
 *
 * @author wangbing
 * @version 1.0, 2018/7/10
 */
public class MessageInfoDto implements Serializable {

    private static final long serialVersionUID = -3667373718266935692L;

    private int id;
    /**
     * 发送结果
     */
    private String sendResult;
    /**
     * 发送号码
     */
    private String sendPhone;
    /**
     * 接收号码
     */
    private String receivePhone;

    /**
     * 短信内容
     */
    private String msgContent;
    /**
     * 发送时间-------
     */
    @JsonDeserialize(using = TimeJsonDeserializer.class)
    private Date sendTime;
    /**
     * 发送插件(1表示畅天游)
     */
    private int smsPlug = 1;
    /**
     * 备注
     */
    private String comment;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getSendResult() {
        return sendResult;
    }

    public void setSendResult(String sendResult) {
        this.sendResult = sendResult;
    }

    public String getSendPhone() {
        return sendPhone;
    }

    public void setSendPhone(String sendPhone) {
        this.sendPhone = sendPhone;
    }

    public String getReceivePhone() {
        return receivePhone;
    }

    public void setReceivePhone(String receivePhone) {
        this.receivePhone = receivePhone;
    }

    public String getMsgContent() {
        return msgContent;
    }

    public void setMsgContent(String msgContent) {
        this.msgContent = msgContent;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public int getSmsPlug() {
        return smsPlug;
    }

    public void setSmsPlug(int smsPlug) {
        this.smsPlug = smsPlug;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }
}
